package com.hippo.spring.service.impl;

import com.hippo.spring.dao.UserDao;
import com.hippo.spring.dao.impl.UserDaoImpl;
import com.hippo.spring.pojo.User;
import com.hippo.spring.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User save() {
        return userDao.save();
    }

    public void setUserDao(UserDaoImpl userDao) {
    }
}
